import dayjs from 'dayjs'

export function formatDate(date,format)
{
    return dayjs(date).format(format);
}

export function getDiffDay(startDay, endDay)
{
    return dayjs(endDay).diff(startDay, "day");
}